package com.service;

import com.domain.Department;
import com.github.pagehelper.PageInfo;
import com.qo.PageResult;
import com.qo.QueryObject;

import java.util.List;

/**
 * @author shkstart
 * @create 2022/3/11-11:28
 */
public interface DepartmentService {
    void delete(Long id);
    void save(Department department);
    Department get(Long id);
    List<Department> listAll();
    void update(Department department);
    PageInfo<Department> query(QueryObject queryObject);
}
